import {createRouter, createWebHistory} from 'vue-router'
import HomeView from '../views/HomeView.vue'

const routes = [
    {
        path: '/',
        name: 'home',
        component: HomeView
    },
    {path: '/about', component: () => import( '../views/AboutView.vue')}
    , {path: '/a', component: () => import( '../views/AView.vue')}
    , {path: '/b', component: () => import( '../views/BView.vue')}
    , {path: '/c', component: () => import( '../views/CView.vue')}
    , {path: '/d', component: () => import( '../views/DView.vue')}
    , {path: '/e', component: () => import( '../views/EView.vue')}
    , {path: '/f', component: () => import( '../views/FView.vue')}
    , {path: '/g', component: () => import( '../views/GView.vue')}
    , {path: '/h', component: () => import( '../views/HView.vue')}
    , {path: '/i', component: () => import( '../views/IView.vue')}
    , {path: '/j', component: () => import( '../views/JView.vue')}
    , {path: '/k', component: () => import( '../views/KView.vue')}
    , {path: '/l', component: () => import( '../views/LView.vue')}
    , {path: '/m', component: () => import( '../views/MView.vue')}
    , {path: '/n', component: () => import( '../views/NView.vue')}
    , {path: '/o', component: () => import( '../views/OView.vue')}
    , {path: '/p', component: () => import( '../views/PView.vue')}
    , {path: '/q', component: () => import( '../views/QView.vue')}
    , {path: '/r', component: () => import( '../views/RView.vue')}
    , {path: '/s', component: () => import( '../views/SView.vue')}
    , {path: '/t', component: () => import( '../views/TView.vue')}
    , {path: '/u', component: () => import( '../views/UView.vue')}
    , {path: '/v', component: () => import( '../views/VView.vue')}
    , {path: '/w', component: () => import( '../views/WView.vue')}
    , {path: '/x', component: () => import( '../views/XView.vue')}
    , {path: '/y', component: () => import( '../views/YView.vue')}
    , {path: '/z', component: () => import( '../views/ZView.vue')}
]

const router = createRouter({
    history: createWebHistory(process.env.BASE_URL),
    routes
})

export default router
